package my.study.designpattern.singleton;

public class Main {
	public static void main(String[] args) {
		China1 c11 = China1.getInstance();
		China1 c12 = China1.getInstance();
		System.out.println("c11 ==  c12 is " + (c11 ==  c12));
		
		China2 c21 = China2.getInstance();
		China2 c22 = China2.getInstance();
		System.out.println("c21 ==  c22 is " + (c21 ==  c22));
	}
}
